package mdvrp;

import java.util.*;

public class CultureImproPath {
	int depot_id;
	ArrayList<Integer> orders = new ArrayList<Integer>();
	public CultureImproPath() {
		
	}
	
	public CultureImproPath(int depot_id) {
		this.depot_id = depot_id;
		this.orders.clear();
	}
	
	public CultureImproPath(int depot_id, ArrayList<Integer> orders) {
		this.depot_id = depot_id;
		this.orders = orders;
	}
	public CultureImproPath copy() {
		CultureImproPath new_path = new CultureImproPath();
		for (int i = 0; i < this.orders.size(); i++) {
			new_path.orders.add(this.orders.get(i));
		}
		new_path.depot_id = this.depot_id;
		return new_path;
	}
	public void print() {
		System.out.printf("path: depot_id %d orders_size %d(", this.depot_id, this.orders.size());
		for (int i = 0; i < this.orders.size(); i++) {
			System.out.printf(" %d", this.orders.get(i));
		}
		System.out.println(")");
	}
}
